<?php
	
		$id= $_GET['idbpos'];
		
		$cType = new CType ;
		
		$cCategory = new CCategory;
		
		
		$notification ="";
		if(isset($_GET['notification']))
		{
			$notification =constant($_GET['notification']);
		}
		
		
		$category = $cCategory -> CCategoryDetail($id);
					
		if($category['status'] ==1)
		{
			$status ='Active';
		}
		else
		{
			$status ='Inactive	';
		}
		
		if(is_array($category))
		{
			
			
			$mainContent = '<form action="processCategory.php" method="post" name="form1">
					
							
					<div id="content2">
						<span style="font-size:10px;color:#FF0000;font-weight:bold;font-family:Arial, Helvetica, sans-serif">'.$notification.'</span>

						<input type="hidden" name="showCategory" value="'.$id.'" >
						<table border="0" width="90%" style="position:relative" align = "center" >
						<tr>
							<td align="left" valign="middle" height="50px"> 
							 <img src="images/profile.png" style="float:left" border="0"/>
							<span class="mystyle1"> Are you sure to delete this category </span>		 </td>
						</tr>
						<tr>
							<td>
							<span > Name : <b>'.$category['name'].'</b></span><br>
																
							<span> Status : '.$status.'</span><br>
							<span> Having : [updating number of ....] types and items</span>
							</td>
							
						</tr>
						
						
						<tr align="center">
							<td height="50px">
								<input id="input2"  type="submit" name="btn_ok" value="  OK  ">
								<input id="input2" name="btn_cancel" type="submit" value="  Cancel  " >
							</td>
						</tr>
 
						</table>
					</div>
					<input type="hidden" name="hCategoryAction" value="del">
					</form>';

		}




?>